/* eslint-disable */
<template>
  <div class="edit-menu">
    <div class="title"><span>类型编辑器</span></div>
    <!--      <el-button v-on:click="test">TEST</el-button>-->
    <el-collapse accordion>
      <el-collapse-item title="添加类型" name="addType">
        <add-type-component/>
      </el-collapse-item>
      <el-collapse-item title="编辑类型" name="editType">
        <edit-type-component/>
      </el-collapse-item>
      <el-collapse-item title="类型过滤" name="filterType">
        <filter-type-component/>
      </el-collapse-item>
    </el-collapse>
  </div>
</template>

<script>

import editTypeComponent from "@/views/kgeditor/components/editType/editTypeComponent";
import filterTypeComponent from "@/views/kgeditor/components/editType/filterTypeComponent";
import addTypeComponent from "@/views/kgeditor/components/editType/addTypeComponent";

export default {
  name: "editClassComponent",
  components: {
    addTypeComponent,
    editTypeComponent,
    filterTypeComponent
  },
  data() {
    return {
      KG: this.$parent.$refs.graphComponent.KG
    }
  },

};
</script>

<style>
.typeBase .row {
  margin-bottom: 10px;
}
.typeBase .row {
  height: 30px;
}
.typeBase .row .title {
  float: left;
  margin-left: 5px;
  line-height: 30px;
  font-size: 14px;
}
.typeBase .pickRRow .rPicker,
.typeBase .pickColorRow .colorPicker {
  float: right;
  margin-right: 15px;
  width: 100px;
  height: 30px;
  border-radius: 30px;
}
.typeBase .pickRRow .rPicker{
  width: 90px;
}
/*.singleType .pickRRow .rPicker input,*/
.typeBase .pickColorRow .colorPicker input{
  padding: 0 3px 0 3px;
  cursor: pointer;
}
.typeBase .pickColorRow .button {
  float: right;
  padding: 0 5px 0 5px;
  width: 40px;
  height: 29px;
  font-size: 5px;
  margin-right: 10px;
}
</style>